@colormain: #618cf6;
@barsize: 16px;
@avatar: 60px;
@sub-avatar: 60px;
// 顶部导航 topNav
@topNavHeight: 48px; // 高度
@topNavFontSize: 14px; // 字号
@topNavPadding: 10px; // 左右间距

// logo
@logoWidth: 144px; // 宽度
@logoHeight: 44px; // 高度

@backgroundColor: #5d90fd; // 背景颜色
@hoverBackColor: #5487f4; // 鼠标移动背景颜色

// 卡片
@cradFontSize: 14px;
@cardShuBackColor: #618cf6;
@cardRightFontSize: 12px;

// tags
@tagsHeight: 32px;
@tagsBtnSize: 32px;
@tagsIFontSize: 16px;

::-webkit-scrollbar {
  /*高宽分别对应横竖滚动条的尺寸*/
  width: 0;
}

.el-dropdown-menu-new {
  max-height: 500px !important;
  overflow: auto !important;
}
.icon-cha {
  font-size: 10px;
}
.main-content {
}
#PersonnelDesk {
  margin: 0;
  padding: 10px;
  width: 100% !important;
  height: 100% !important;
  .empty {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    img {
      width: 97px;
    }
    .desc {
      color: #b8b8b8;
      margin-top: 10px;
      font-size: 12px;
      font-weight: normal;
    }
  }

  // padding: 0 !important;
  overflow: hidden;
  // margin: 0 !important;
  box-sizing: border-box;
  // width: 100% !important;
  // .el-button-group>.el-button:not(:first-child):not(:last-child) {
  //     display: none;
  // }
  :deep( .el-dropdown-link) {
    color: @colormain;
    font-size: @cardRightFontSize;
    font-weight: normal;
  }
  // :deep( .el-button-group > .el-button {
  //   border: none;
  // }
  // :deep( .el-button-group > .el-button:first-child:before {
  //   font-size: 14px;
  //   content: "<";
  // }

  // :deep( .el-button-group > .el-button:last-child:before {
  //   content: ">";
  //   font-size: 14px;
  // }

  // :deep( .el-button-group > .el-button:first-child span,
  // :deep( .el-button-group > .el-button:last-child span {
  //   display: none;
  // }
  .calendar {
    padding-bottom: 10px !important;
    margin-bottom: 5px !important;
  }

  :deep( .el-calendar-table .el-calendar-day) {
    &:hover {
      background: none;
    }
    text-align: center;
    font-size: 12px;
  }
  :deep( .el-calendar__header) {
    position: absolute;
    top: 0;
    right: 0;
    border-bottom: 0;
    font-size: 12px;
  }
  :deep( .el-calendar__title) {
    color: #ababab;
    margin-right: 20px;
    font-size: 12px;
  }
  :deep( .el-calendar__body ){
    padding: 0;
    font-size: 12px;
  }
  :deep( .calendar-content) {
    display: flex;
    align-items: center;
    font-size: 12px;

    justify-content: center;
  }
  :deep( .calendar-day) {
    position: relative;
    font-size: 12px;

    width: 28px;
    height: 28px;
    border-radius: 50%;
    // background:#44b669 ;
    line-height: 28px;
  }
  :deep( .calendar-day .calendar-icon ){
    width: 5px;
    height: 5px;
    border-radius: 50%;
    font-size: 12px;

    background: #e7eef8;
    position: absolute;
    top: 22px;
    left: 50%;
    // margin-left: -2px;
    transform: translateX(-40%);
  }
  .calendar-day-txt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  :deep( .calendar-day .icon-success) {
    background: #aad6bb;
  }
  :deep( .calendar-day .icon-warn) {
    background: #faa92a;
  }
  :deep( .el-calendar-table .el-calendar-day) {
    height: 28px;
    padding: 0;
    font-size: 12px;
    font-weight: 500 !important;
    text-align: center;
    // font-weight: bold;
  }
  :deep( .el-calendar-table td.is-selected) {
    background: #fff;
    font-size: 12px;
  }
  :deep( .el-calendar-table td.is-selected .calendar-day) {
    background: #e7eef8;
    font-size: 15px;
    color: #333;
    .calendar-icon {
      display: none;
    }
  }
  :deep( .el-calendar-table td.is-selected .bg-success ){
    background: #aad6bb;
    color: #fff;
  }
  :deep( .el-calendar-table td.is-selected .bg-warn) {
    background: #faa92a;
    color: #fff;
  }
  .el-calendar-table:not(.is-range) td.next .calendar-icon {
    background: #d1d6db !important;
  }
  .el-calendar-table:not(.is-range) td.prev .calendar-icon {
    background: #d1d6db !important;
  }

  :deep( .el-calendar-table td.is-selected .calendar-day ){
    font-size: 12px;
  }

  :deep( .el-calendar__header) {
    font-size: 12px;

    // display: none;
  }
  :deep( .el-calendar-table tr td ){
    border: none;
    font-size: 12px;
  }

  .container,
  .el-row,
  .el-col {
    height: 100%;
  }
  .left-col,
  .right-col {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  background: #f5f6fa !important;
  .common-container {
    padding: 15px 20px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0px 0px 10px #d4dcf0;
    .bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-bottom: 10px;
      border-bottom: 1px solid #edeef2;
      .bar-content {
        display: flex;
        align-items: center;
        .bar-icon {
          width: 3px;
          height: @cradFontSize;
          background: @cardShuBackColor;
          display: inline-block;
          border-radius: 10px;
        }
        .bar-title {
          font-size: @cradFontSize;
          margin-left: 5px;
          // font-weight: bold;
          color: #333;
        }
      }
      .bar-more {
        .more-content {
          display: flex;
          align-items: center;
          color: @colormain;
          .more-icon {
            margin-right: 5px;
          }
          .more-text {
            cursor: pointer;
          }
        }
      }
    }
  }

  .section1 {
    // padding-bottom: 40px;
    .user-info {
      margin-top: 20px;
      display: flex;
      align-items: center;
      position: relative;
      .avatar {
        width: @avatar;
        height: @avatar;
        border-radius: 50%;
        position: relative;
        .avatar-img {
          width: @avatar;
          height: @avatar;
          border-radius: 50%;
          background: @colormain;
        }
        .default {
          position: absolute;
          width: @avatar;
          height: @avatar;
          text-align: center;
          line-height: @avatar;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          color: #fff;
          font-size: 16px;
        }
      }
      .desc {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        height: @avatar;
        margin-left: 20px;
        // font-weight: bold;
        // position: relative;
        .edit-info {
          color: @colormain;
          position: absolute;
          right: 0;
          top: -20px;
          // font-size: 14px;
          text-decoration: underline;
          cursor: pointer;
        }
        .desc-row1 {
          display: flex;
          align-items: center;
          // align-items: flex-end;

          .name {
            font-size: 16px;
            color: #333;
            align-self: flex-end;
            font-weight: 500 !important;
          }
          .depm {
            font-size: 12px;
            align-self: flex-end;

            margin-left: 8px;
          }
        }
        .desc-row2 {
          .post {
            font-size: 12px;
            color: #999;
          }
        }
      }
    }
  }

  .section2 {
    position: relative;

    margin-top: 0px;
    // margin-bottom: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    .calendar {
      padding-bottom: 20px;
      margin-bottom: 20px;
      border-bottom: 1px solid #edeef2;
    }
    .matter {
      flex: 1;
      overflow-y: scroll;
      min-height: 40px;
      // margin-bottom: 20px;
      padding-bottom: 50px;
      //  border-top: 1px solid #edeef2;
      //   padding-top: 20px;
      .item:hover {
        background: #f8f9fd;
        .item-oper {
          // visibility: initial; // IE不识别
          visibility: visible;
        }
      }
      .item {
        padding: 5px 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 12px;
        .item-name {
          font-weight: 500;
        }
        .item-text {
          color: #49ba6d;
          line-height: 30px;
          font-size: 12px;
        }
        .item-oper {
          display: flex;
          visibility: hidden;
          .oper {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            color: #fff;
            text-align: center;
            line-height: 20px;
            cursor: pointer;
          }
          .oper-confirm {
            background: #49ba6d;
            margin-right: 20px;
          }
          .oper-cancel {
            background: #de1f00;
            font-size: 8px;
          }
        }
      }
    }
    .btns {
      position: absolute;
      bottom: 20px;
      right: 20px;
      display: flex;
      justify-content: flex-end;
      text-align: center;
      .el-button {
        box-shadow: 0px 4px 8px rgba(83, 137, 252, 0.59);
        font-size: 12px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;
      }
    }
  }

  .section3 {
    flex: 3;
    display: flex;
    flex-direction: column;
    overflow-y: hidden;

    .items {
      flex: 1;
      overflow-y: scroll;
      .item {
        border-bottom: 1px solid #edeef2;

        .row1 {
          margin-top: 10px;
          display: flex;
          justify-content: space-between;
          align-items: center;
          .row1-content {
            display: flex;
            align-items: center;
          }
          .avatar {
            width: @sub-avatar;
            height: @sub-avatar;
            border-radius: 50%;
            background: @colormain;

            .avatar-img {
              width: @sub-avatar;
              height: @sub-avatar;
              border-radius: 50%;
              background: @colormain;
            }
          }
          .form-name {
            // font-weight: bold;
            margin-left: 10px;
            color: #333;
          }
          .time {
            color: #a9a9a9;
            font-size: 15px;
          }
        }

        .row2 {
          display: flex;
          justify-content: space-between;
          align-items: center;
          .apply-price {
            margin-left: calc(@sub-avatar + 10px);
          }
          .examine {
            color: @colormain;
            text-decoration: underline;
            cursor: pointer;
          }
        }
        .row3 {
          margin-top: 5px;
          margin-bottom: 8px;
          .apply-time {
            margin-left: calc(@sub-avatar + 10px);
          }
        }
      }
    }
  }
  .m-bottom10 {
    margin-bottom: 10px;
  }
  .section4 {
    
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;

    .list {
      flex: 1;
      height: 100%;
      overflow-y: scroll;
      .list-item {
        display: flex;
        align-items: center;
        line-height: 40px;
        justify-content: space-between;
        .list-title {
          display: flex;
          align-items: center;
          .list-icon {
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: #e3222b;
          }
          .title {
            margin-left: 5px;
            cursor: pointer;
          }
          .title:hover {
            color: @colormain;
            text-decoration: underline;
          }
        }
        .list-time {
          font-size: 12px;
          color: #ababab;
        }
      }
    }
  }
}